course = "Python"
# --------012345
print(id(course))
print(len(course))  # 6
print(course[0])  # P
print(course[-1])  # n
print(course[-2])  # o
print(course[0:3])  # pyt
print(course[0:6])  # Python
print(course[0:])  # Python
print(course[:-1])  # Pytho
# print(course[:-0.5])
# TypeError: slice indices must be integers or None or have an __index__ method (see unsupported features)
